clippedShadow
fun Modifier.clippedShadow(elevation: Dp, shape: Shape = RectangleShape, clip: Boolean = elevation > 0.dp, ambientColor: Color = DefaultShadowColor, spotColor: Color = DefaultShadowColor): Modifier
Creates a clipped replacement for the regular shadow.
Refer to shadow's documentation for parameter details.
fun Modifier.clippedShadow(elevation: Dp, shape: Shape = RectangleShape, clip: Boolean = elevation > 0.dp, ambientColor: Color = DefaultShadowColor, spotColor: Color = DefaultShadowColor, colorCompat: Color? = DefaultShadowColor, forceColorCompat: Boolean = false): Modifier
A clippedShadow overload that can be tinted with the color compat mechanism.
Refer to shadowCompat for color compat details.